package com.example.roadeyeserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.roadeyeserver.entity.StationHourFlowWide;
import com.example.roadeyeserver.entity.request.CommonRequest;
import com.example.roadeyeserver.entity.vo.StationHourFlowWideVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StationHourFlowWideMapper extends BaseMapper<StationHourFlowWide> {

    StationHourFlowWideVO getStationOverviewReport(@Param("request") CommonRequest request);

    List<StationHourFlowWideVO> getStationRankReport(@Param("request") CommonRequest request);

    List<StationHourFlowWideVO> getFlow(@Param("request") CommonRequest request);

    List<StationHourFlowWideVO> getStationRankReportInStation(@Param("request") CommonRequest request);

    StationHourFlowWideVO getMaxTimeRecord();

}
